import { request } from '@/utils/request';

const url = '/api/console/operation-log';
export default {
  list: (params: any) => request.get({ url, params }),
  del: (id: number) => request.delete({ url: `${url}/${id}` }),
  delbat: (ids: number[]) => request.patch({ url: `${url}/batchDel`, data: { ids } }),
  clear: () => request.delete({ url: `${url}/clear` }),
};
